package com.wwmz.pattern.factory.abstrat;

/**
 * Created by wumz on 2020/9/16 14:16
 */
public class AbstractTest {

    public static void main(String[] args) {
        JavaCourseFactory javaCourseFactory = new JavaCourseFactory();
        javaCourseFactory.createNote().edit();
        javaCourseFactory.createRecord().record();

        PythonCourseFactory pythonCourseFactory = new PythonCourseFactory();
        pythonCourseFactory.createNote().edit();
        pythonCourseFactory.createRecord().record();
    }
}
